package com.sn.pw.service;

import com.sn.pw.dao.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sn.pw.page.PageReq;
import com.sn.pw.page.PageResp;
import com.sn.pw.result.Result;
import com.sn.pw.vo.req.LoginReq;
import com.sn.pw.vo.resp.OrderResp;
import com.sn.pw.vo.resp.UserResp;
import com.sn.pw.vo.createreq.UserCreateReq;
import com.sn.pw.vo.updatereq.UserUpdateReq;
import java.util.*;

/**
 * <p>
 * 人员信息 服务类
 * </p>
 *
 * @author mx
 * @since 2023-12-06
 */


public interface UserService extends IService<User> {
    boolean create(UserCreateReq param);

    boolean delete(Long id);

    boolean deleteByIds(List<Long> ids);

    boolean update(UserUpdateReq param);

    UserResp findById(Long id);

    List<UserResp> findList(List<Long> ids);

    PageResp<UserResp> findPage(PageReq pageReq);

    Result userLogin(LoginReq param);


}
